package cn.aylog.service.impl;

import cn.aylog.dao.IUserDao;
import cn.aylog.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private IUserDao dao;

    public UserServiceImpl() {
        System.out.println("UserServiceImpl - 构造方法。。。");
    }

    @Override
    public void getUser(Integer id) {
        dao.getUser(id);
        System.out.println("UserServiceImpl-getUser, 参数：" + id);
    }
}
